package com.shop.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.shop.pojo.LdbzIndexSlideAd;
import com.shop.pojo.LdbzSearchLeftAd;
import com.shop.pojo.LdbzSearchSlideAd;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface LdbzSearchSlideAdMapper extends BaseMapper<LdbzSearchSlideAd> {
    List<LdbzSearchSlideAd> getSearchSlideAdPage(LdbzSearchSlideAd entity , int start , int limit);
    long countByEntity(LdbzSearchSlideAd entity);
    LdbzSearchSlideAd selectByKey(Long id);
    int deleteByKey(Long id);
    int deleteByKeys(List<Long> ids);
    int insertByEntity(LdbzSearchSlideAd entity);
    int updateByKey(LdbzSearchSlideAd entity);
    List<LdbzSearchSlideAd> selectByEntity(@Param("entity") LdbzSearchSlideAd entity , @Param("start")int start , @Param("limit")int limit);

}
